search file by date range